package ooday222;

public class Amimal {
    String name;
    int age;
    String color;

    void eat(){
        System.out.println(name+"正在吃饭，请别打扰");
    }
    void drink(){
        System.out.println(color+"颜色的"+age+"岁的"+name+"正在喝水，请等一下，");
    }
    Amimal(String name,int age,String color){
        this.name=name;
        this.age=age;
        this.color=color;
    }
}
